﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Core
{
    /// <summary>
    /// 计划任务状态记录表
    /// </summary>
    [Table("IT_Plan_Task_Record")]
    [Comment("计划任务状态记录表")]
    public class Plan_Task_Record: DEntityBase
    {
        /// <summary>
        /// 计划任务Id
        /// </summary>
        [Comment("计划任务Id")]
        public long PlanTaskId { get; set; }
        /// <summary>
        /// 任务状态 1.待处理 2.待审核 3.审核通过 4.审核不通过 5.完成
        /// </summary>
        [Comment("任务状态 1.待处理 2.待审核 3.审核通过 4.审核不通过 5.完成")]
        public short TaskStatus { get; set; }
        /// <summary>
        /// 备注,审核意见
        /// </summary>
        [Comment("备注")]
        [MaxLength(100)]
        public string RecordRemarks { get; set; }
    }
}
